<?php

/**
 * @author FROSTY (valik619)
 * @site nadmad.ru
 * @mail valik619@inbox.ru
 */
 
echo '</div>';//block
echo '<div class="foot"><a href="http://'.$set['home'].'">'.$title.'</a></div>';
$online_users = mysql_result(mysql_query("SELECT count(*) FROM `users` WHERE `online` > '".(time()-300)."'"), 0);

echo '<div class="online"><a href="http://'.$set['home'].'/other.php?a=online">Online: '.$online_users.'</a></div>';

$time = microtime(true) - $start1;
echo '<div class="copy"><p>&copy; <a href="http://nadmad.ru">wBlogCMS</a><br />['.round($time, 4).']</p></div>';

$counters = mysql_query("SELECT * FROM `counters` ORDER BY `id` DESC");

echo '<div class="copy">';

while($c=mysql_fetch_assoc($counters)){
    if($c['general'] == 1 && $page == 'General'){
  echo "$c[code]";
  }elseif($page == 'General'){
   echo "$c[code]"; 
  }
  if($page != 'General' && $c['general'] != 1){
     echo "$c[code1]"; 
  }
};

echo '</div>'; //copy
/**
 * @author FROSTY (valik619)
 * @site nadmad.ru
 * @mail valik619@inbox.ru
 */

?>